package stark.app.function.net_ping_ip;

/**
 * create by fanlc
 * on 2020/10/22
 * description
 */
public class IpQueryBean {


    /**
     * status : success
     * country : 中国
     * countryCode : CN
     * region : BJ
     * regionName : 北京市
     * city : 北京
     * zip :
     * lat : 39.9042
     * lon : 116.407
     * timezone : Asia/Shanghai
     * isp : Beijing Baidu Netcom Science and Technology Co.
     * org :
     * as : AS55967 Beijing Baidu Netcom Science and Technology Co., Ltd.
     * query : 45.113.192.101
     */

    private String status;
    private String country;
    private String countryCode;
    private String regionName;
    private String city;
    private double lat;
    private double lon;
    private String timezone;
    private String isp;
    private String as;
    private String query;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getCountryCode() {
        return countryCode;
    }

    public void setCountryCode(String countryCode) {
        this.countryCode = countryCode;
    }

    public String getRegionName() {
        return regionName;
    }

    public void setRegionName(String regionName) {
        this.regionName = regionName;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public double getLat() {
        return lat;
    }

    public void setLat(double lat) {
        this.lat = lat;
    }

    public double getLon() {
        return lon;
    }

    public void setLon(double lon) {
        this.lon = lon;
    }

    public String getTimezone() {
        return timezone;
    }

    public void setTimezone(String timezone) {
        this.timezone = timezone;
    }

    public String getIsp() {
        return isp;
    }

    public void setIsp(String isp) {
        this.isp = isp;
    }

    public String getAs() {
        return as;
    }

    public void setAs(String as) {
        this.as = as;
    }

    public String getQuery() {
        return query;
    }

    public void setQuery(String query) {
        this.query = query;
    }

    @Override
    public String toString() {
        return "IpQueryBean{" +
                "status='" + status + '\'' +
                ", country='" + country + '\'' +
                ", countryCode='" + countryCode + '\'' +
                ", regionName='" + regionName + '\'' +
                ", city='" + city + '\'' +
                ", lat=" + lat +
                ", lon=" + lon +
                ", timezone='" + timezone + '\'' +
                ", isp='" + isp + '\'' +
                ", as='" + as + '\'' +
                ", query='" + query + '\'' +
                '}';
    }
}
